package com.bridgeintelligent.tag.webserver.dim.mgmt.api;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by JackCheung on 2019/9/9 9:09 PM.
 */
@Getter
@Setter
@Accessors(chain = true)
public class DimCatalog {

    //id
    private String id;
    //目录类型
    private String type;
    //目录名称
    private String name;
    //父目录Id
    private String parentId;
    //排序字段
    private Integer number;
    //目录级别
    private int level;
    //id路径
    private String idPath = ",";
    //名称路径
    private String namePath = ",";
    //子目录
    List<DimCatalog> children = new ArrayList<>();
    //该目录下的所有标签数
    private String num;
}

